//@flow

import React, { Component } from 'react';
import { 
    View,
    Text,
 } from 'react-native';
import { 
    TabBar,
 } from "antd-mobile-rn";
import { ComponentBase } from '../base/componentBase';
import { TabItemProps } from "../common/route";
export type Props = TabItemProps;
export type State = {

}
const Item = TabBar.Item;


export class TabbarItem extends ComponentBase<Props,State>{
    constructor(props:Props){
        super(props)
        this.props = props;
    }
    render(){
        return (
            <Item
                badge="3"
                onPress={()=>{console.log('click')}}
                selected={true}
                icon={this.pro}>
                <Text>d</Text>
            </Item>
        )
    }
}